package com.cn.mapper.dao.db5.Equipment;

import com.cn.bean.pojo.lbj.*;
import com.cn.bean.vo.Equipment.ComponentBasicInformation;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ComponentGroupDao {
    //查询基础信息表
    List<ComponentGroupBasicMainTable>selectComponentBasic(ComponentGroupBasicMainTable componentGroupBasicMainTable);
    List<ComponentGroupBasicSubTable>selectComponentGroupBasicSub(ComponentGroupBasicSubTable componentGroupBasicSubTable);
    List<ComponentGroupBasicSubTable>selectBasicSub(int id);
    //查询设置信息表
    List<ComponentGroupSettingMainTable>selectComponentGroup(ComponentGroupSettingMainTable componentGroupSettingMainTable);
    List<ComponentGroupSettingSubTable>selectComponentGroupSub(ComponentGroupSettingSubTable componentGroupSettingSubTable);
    //查询变更信息表
    List<ComponentGroupUpdateMainTable>selectComponentUpdate(ComponentGroupUpdateMainTable componentGroupUpdateMainTable);
    List<ComponentGroupUpdateSubTable>selectComponentGroupUpdateSub(ComponentGroupUpdateSubTable componentGroupUpdateSubTable);
    List<ComponentBasicInformationTable>selectComponentBasicInformationTable(ComponentBasicInformationTable componentBasicInformationTable);
    List<SingleRegistrationTable>selectMain(SingleRegistrationTable singleRegistrationTable);
    List<SingleRegistrationTableSub>selectSub(SingleRegistrationTableSub sub);
    List<SingleRegistrationTableSub>selectSingleSub(SingleRegistrationTableSub sub);
    Boolean insertComponentGroupSetting(ComponentGroupSettingMainTable componentGroupSettingMainTable);
    Boolean insertComponentGroupSettingSub(ComponentGroupSettingSubTable componentGroupSettingSubTable);
    Boolean insertComponentGroupUpdate(ComponentGroupUpdateMainTable componentGroupUpdateMainTable);
    Boolean insertComponentGroupUpdateSub(ComponentGroupUpdateSubTable componentGroupUpdateSubTable);
    Boolean insertComponentGroupBasicMain(ComponentGroupBasicMainTable componentGroupBasicMainTable);
    Boolean insertComponentGroupBasicSub(ComponentGroupBasicSubTable componentGroupBasicSubTable);
    Boolean updateComponentGroupSetting(ComponentGroupSettingMainTable componentGroupSettingMainTable);
    Boolean updateComponentGroupUpdate(ComponentGroupUpdateMainTable componentGroupUpdateMainTable);
    Boolean updateComponentGroupBasic(ComponentGroupBasicMainTable componentGroupBasicMainTable);
    Boolean delComponentGroupSettingSub(int id);
    Boolean delComponentGroupUpdateSub(int id);
    Boolean delComponentGroupBasicSub(int id);
    Integer getComponentGroupSettingAutoid();
    Integer getComponentGroupSettingSubAutoid();
    Boolean updateGroupStatus(int id);
    Boolean updateSettingStatus(int id);

}
